package com.blog.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blog.user.entity.User;
import com.blog.user.entity.UserCollection;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.user.mapper.UserCollectionMapper;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zw
 * @since 2021-12-08
 */
public interface UserCollectionService extends IService<UserCollection> {

    public boolean isCollected(String userId,Integer articleId);
    public void insertCollection(String userId,Integer articleId);
    public  void pageQuery(Page<UserCollection> pageInfo, String userId);

}
